<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:app="http://springfuse.jaxio.com/app">
	<app:outputLabel for="#{id}_input" value="#{label}" required="#{required}" rendered="#{rendered}"/>
	<h:panelGroup id="#{id}Grid" styleClass="aria-role-presentation" rendered="#{empty rendered ? true : rendered}">
		<p:autoComplete id="#{id}" value="#{value}" label="#{resourcesUtil.getProperty(label)}"
			completeMethod="#{controller[(empty completeMethod) ? 'complete' : completeMethod]}"
			var="item"
			itemValue="#{item}"
			itemLabel="#{printer.print(item)}"
			converter="#{converter}"
			dropdown="true"
			multiple="true"
			minQueryLength="#{empty minQueryLength ? 2 : minQueryLength}"
			forceSelection="#{forceSelection}"
			size="#{empty size ? 50 : size}">
			<f:attribute name="completeOnProperties" value="#{completeOnProperties}" />
			<ui:insert/>
		</p:autoComplete>
	</h:panelGroup>
</ui:composition>
